﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using System.Xml.Schema;

namespace HTicket.Entity
{
    [Serializable]
    [XmlRoot("Chart")]
    public class ChartEntity
    {
        [XmlAttribute("Caption")]
        public string Caption { get; set; }

        [XmlAttribute("NumberPrefix")]
        public string NumberPrefix { get; set; }

        [XmlElement("Set", typeof(ChartSet), Form = XmlSchemaForm.Unqualified)]
        public List<ChartSet> Set { get; set; }
    }
}